{% extends "base.html" %}

{% block content %}
<div class="span-20 last prepend-2">
<table width="100%" cellspacing="0" class="bbs-table">
    <tr>

    <th>No.</th>
    <th>主题</th>
    <th>作者</th>
    <th>回复</th>
    <th>阅读</th>
    <th>发表日期</th>

    </tr>
    
    {%for t in threads%}
        <tr>
        
        <td class="no">{{t.no}}</td>
        <td class="title"><a href={{t.get_absolute_url}}>{{t.title}}</a></td>
        <td class="author">{{t.author.username}}</td>
        <td class="count">{{t.post_count}}</td>

        <td class="count">{{t.hits}}</td>
        <td class="datetime">{{t.created_at}}</td>
        </tr>
    {%endfor%}
</table>
</div>
{%endblock%}
